
package JAVACORE_TRAINING.BASIC_JAVA.STRUCTURE_PROGRAMMING.EXAMPLES;

import java.util.Scanner;

public class DOWHILE_DEMO1 {
	
    public static void main(String[] args) {
        //1. Khai bÃ¡o biáº¿n
        String strValue;
        
        //2. Sá»­ dá»¥ng vÃ²ng láº·p Do...While Ä‘á»ƒ yÃªu báº¯t buá»™c pháº£i nháº­p vÃ o giÃ¡ trá»‹
        do{
            //3. Má»�i nháº­p giÃ¡ trá»‹
            System.out.println("Má»�i nháº­p giÃ¡ trá»‹?");
            
            //4. Nháº­n giÃ¡ trá»‹ vÃ  kiá»ƒm tra
            Scanner sc = new Scanner(System.in);
            strValue = sc.nextLine();
            
        }while(Double.parseDouble(""+strValue) > 0);
        System.out.println("ThoÃ¡t chÆ°Æ¡ng trÃ¬nh");
    }
}
